package com.SmartCampus.system.model.dto.clazz;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级更新请求
 *
 * @author wangliang
 */
@Data
public class ClazzUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识
     */
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private Long id;
    /**
     * 班级名称
     */
    @ApiModelProperty(value = "班级名称")
    private String name;
    /**
     * 班级人数
     */
    @ApiModelProperty(value = "班级人数")
    private Integer number;
    /**
     * 班级介绍
     */
    @ApiModelProperty(value = "班级介绍")
    private String introduction;
    /**
     * 辅导员
     */
    @ApiModelProperty(value = "辅导员")
    private String headmaster;
    /**
     * 辅导员电话
     */
    @ApiModelProperty(value = "辅导员电话")
    private String phone;
}